/*
 * Copyright (c) 2023 Huawei Device Co., Ltd.
 * Licensed under the Apache License,Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// 获取全部MV
export class AllMvResultModel {
    code: number;
    data: AllMvResultDataModel[]

    constructor() {
    }
}


export class AllMvResultDataModel {
    id: string;
    cover: string;
    name: string;
    artistName: string;
    playCount: number

    constructor() {
    }
}

// 获取 mv 点赞转发评论数数据

export class MvDetailInfoModel {
    likedCount: number;
    shareCount: number;
    commentCount: number;
    liked: boolean;
    code: number

    constructor() {
    }
}

export class MvDetailModel {
    data: MvDetailDataModel
    code: number

    constructor() {
    }
}

export class MvDetailDataModel {
    name: string
    playCount: number;
    shareCount: number;
    commentCount: number;
    artists: ArtistsModel[]

    constructor() {
    }
}

export class ArtistsModel {
    name: string;
    img1v1Url: string

    constructor() {
    }
}

// 获取mv 播放地址
export class MvUrlModel {
    code: string;
    data: MvUrlDataModel

    constructor() {
    }
}

export class MvUrlDataModel {
    id: string;
    url: string;
    size: number;
    md5: string;
    code: string;

    constructor() {
    }
}
